Page({

  /**
   * 页面的初始数据
   */
  data: {
    bannerList: [{
      "imageUrl": "http://shell-select-public-bucket.oss-cn-hangzhou.aliyuncs.com/313e67c1063613799dedccd7a295bd77.jpg",
      "linkType": 2,
      "isVisible": 1,
      "title": "夏日潮T",
      "text": "",
      "url": "shell://c?id=115",
      "weight": 0
    }, {
      "imageUrl": "http://shell-select-public-bucket.oss-cn-hangzhou.aliyuncs.com/f885e1130f02487dc1fbc563f6ca23bf.jpg",
      "linkType": 2,
      "isVisible": 1,
      "title": "男女鞋",
      "text": "",
      "url": "shell://c?id=112",
      "weight": 0
    }, {
      "imageUrl": "http://shell-select-public-bucket.oss-cn-hangzhou.aliyuncs.com/ef2978814fd013cb8e12fba37c6ddfeb.jpg",
      "linkType": 2,
      "isVisible": 1,
      "title": "防晒专题",
      "text": "",
      "url": "shell://c?id=110",
      "weight": 0
    }],
    productList: [{
      "comId": 1364523,
      "tbId": "566565925900",
      "couponValue": "40",
      "expireTip": "3天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/2921028903/TB2sjuljkSWBuNjSszdXXbeSpXa_!!2921028903-0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "69",
      "discountedPrice": "29",
      "title": "夏季男士休闲裤男束脚裤韩版哈伦裤九分裤宽松小脚运动裤收腿裤子",
      "text": "仿麻面料 小脚设计  加购收藏优先发货！！",
      "type": 1,
      "url": "shell://s?id=1364523",
      "label": 1,
      "volumn": 58402,
      "commission": "2.61",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 361114,
      "tbId": "566883993184",
      "couponValue": "110",
      "expireTip": "4天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/579778147/TB2752QoSBYBeNjy0FeXXbnmFXa_!!579778147.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "149",
      "discountedPrice": "39",
      "title": "短袖t恤男士半袖新款夏季纯棉白色V领韩版打底衫男款修身体恤潮男",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=361114",
      "label": 0,
      "volumn": 6898,
      "commission": "3.51",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 23746,
      "tbId": "549981444398",
      "couponValue": "100",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i1/2900024066/TB29oggifuSBuNkHFqDXXXfhVXa_!!2900024066-0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "129.9",
      "discountedPrice": "29.9",
      "title": "夏天短裤男士5五分裤纯棉韩版薄款运动裤休闲修身学生中裤沙滩7",
      "text": "质量保证！码数偏小 建议拍大一码！",
      "type": 1,
      "url": "shell://s?id=23746",
      "label": 1,
      "volumn": 1911,
      "commission": "2.69",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 562595,
      "tbId": "537445175429",
      "couponValue": "20",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i1/816199511/TB1y3Yrj0rJ8KJjSspaXXXuKpXa_!!0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "39.9",
      "discountedPrice": "19.9",
      "title": "好肌汇去黑头收缩毛孔套装吸祛黑头导出液鼻贴粉刺撕拉式面膜男女",
      "text": "温和去黑头 细嫩毛孔 美丽俏佳人力荐",
      "type": 1,
      "url": "shell://s?id=562595",
      "label": 1,
      "volumn": 123846,
      "commission": "2.68",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 360681,
      "tbId": "559258473367",
      "couponValue": "20",
      "expireTip": "4天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/2533461908/TB2IrRJgYGYBuNjy0FoXXciBFXa_!!2533461908.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "39",
      "discountedPrice": "19",
      "title": "蒂诗颜唇釉不脱色持久保湿学生口红哑光唇彩唇液染唇液防水非韩国",
      "text": "呈现水漾晶透妆效，打造轻盈性感。",
      "type": 1,
      "url": "shell://s?id=360681",
      "label": 1,
      "volumn": 8008,
      "commission": "2.56",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 6340,
      "tbId": "552643748862",
      "couponValue": "70",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/900454205/TB2bWnPuv5TBuNjSspmXXaDRVXa_!!900454205.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "96",
      "discountedPrice": "26",
      "title": "关键儿童电话手表防水智能学生手机多功能定位手表儿童手表电话",
      "text": "1年销售40万台  真正游泳级防水",
      "type": 1,
      "url": "shell://s?id=6340",
      "label": 1,
      "volumn": 33034,
      "commission": "3.53",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 2752,
      "tbId": "37894235018",
      "couponValue": "5",
      "expireTip": "3天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/692944889/TB20MszBaSWBuNjSsrbXXa0mVXa_!!692944889.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "25",
      "discountedPrice": "20",
      "title": "艾米恋夏季短袖t恤女装纯色大码白色上衣修身显瘦圆领体恤打底衫",
      "text": "13花色可选 优质亲肤棉 品质简约",
      "type": 1,
      "url": "shell://s?id=2752",
      "label": 1,
      "volumn": 12648,
      "commission": "2.7",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 52021,
      "tbId": "566334965964",
      "couponValue": "15",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/3702295939/TB2WOwUff1TBuNjy0FjXXajyXXa_!!3702295939.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "44.9",
      "discountedPrice": "29.9",
      "title": "夕予夏季新款女装棉质宽松体恤短袖印花字母t恤百搭显瘦圆领上衣",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=52021",
      "label": 1,
      "volumn": 4270,
      "commission": "2.69",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 32300,
      "tbId": "526928343299",
      "couponValue": "50",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/2935684891/TB2CKzPqAOWBuNjSsppXXXPgpXa_!!2935684891.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "89",
      "discountedPrice": "39",
      "title": "竹纤维t恤男青年夏季短袖t恤韩版圆领纯色t恤男士半袖打底衫宽松",
      "text": "发货快 不褪色不缩水 面料柔顺 弹力好",
      "type": 1,
      "url": "shell://s?id=32300",
      "label": 1,
      "volumn": 541,
      "commission": "5.26",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 4430919,
      "tbId": "568031614432",
      "couponValue": "30",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/3068209510/TB2ptOHqhGYBuNjy0FnXXX5lpXa_!!3068209510-0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "41.9",
      "discountedPrice": "11.9",
      "title": "男士短袖T恤2018夏装新款圆领冰丝半袖体恤青年韩版潮流男装上衣",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=4430919",
      "label": 1,
      "volumn": 4756,
      "commission": "1.6",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 5399485,
      "tbId": "16204910274",
      "couponValue": "5",
      "expireTip": "1天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i2/880734502/TB16u8FBVuWBuNjSszbXXcS7FXa_!!0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "38.9",
      "discountedPrice": "33.9",
      "title": "【三只松鼠_碧根果210gx2】端午节零食坚果特产山核桃炒货长寿",
      "text": "全网零食销量NO.1 爆款零食1元起",
      "type": 1,
      "url": "shell://s?id=5399485",
      "label": 1,
      "volumn": 206947,
      "commission": "2.28",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 1435,
      "tbId": "552408993532",
      "couponValue": "100",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/2842401458/TB2HzCGehrI8KJjy0FpXXb5hVXa_!!2842401458.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "126.99",
      "discountedPrice": "26.99",
      "title": "威名驰家用型大功率吹风机理发店蓝光负离子安全恒温护发电吹风筒",
      "text": "钜惠来袭 专业大风力 负离子护发",
      "type": 1,
      "url": "shell://s?id=1435",
      "label": 1,
      "volumn": 8643,
      "commission": "3.64",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 32360,
      "tbId": "43911595444",
      "couponValue": "50",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/743007284/TB2BvLmkVXXXXXQXpXXXXXXXXXX_!!743007284.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "89",
      "discountedPrice": "39",
      "title": "夏季竹纤维男士短袖T恤 纯色v领宽松半袖体恤男装 青年上衣t恤男",
      "text": "极速发货 不褪色不缩水 面料柔顺 弹力好",
      "type": 1,
      "url": "shell://s?id=32360",
      "label": 1,
      "volumn": 479,
      "commission": "5.26",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 35430,
      "tbId": "548033244973",
      "couponValue": "30",
      "expireTip": "1天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/1579495612/TB2QnK_gTnI8KJjy0FfXXcdoVXa_!!1579495612.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "42.9",
      "discountedPrice": "12.9",
      "title": "【买2送2】ENMI大麦若叶青汁蚂蚁苗粉抹茶清汁农场清汁饱腹代餐粉",
      "text": "单笔订单买2送2 分开拍不参与活动",
      "type": 1,
      "url": "shell://s?id=35430",
      "label": 1,
      "volumn": 36079,
      "commission": "1.74",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 5622,
      "tbId": "563901442317",
      "couponValue": "3",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://gd1.alicdn.com/imgextra/i1/1922374284/TB2_B3adJcnBKNjSZR0XXcFqFXa_!!1922374284.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "28.9",
      "discountedPrice": "25.9",
      "title": "波西米亚度假沙滩宽松显瘦雪纺印花松紧腰小脚裤休闲灯笼运动裤女",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=5622",
      "label": 0,
      "volumn": 24920,
      "commission": "2.44",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 4535300,
      "tbId": "569085704573",
      "couponValue": "45",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/2410043244/TB2umRmj7ZmBKNjSZPiXXXFNVXa_!!2410043244.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "59.9",
      "discountedPrice": "14.9",
      "title": "第2支半价口红持久保湿不脱色韩国防水不沾杯正品学生姨妈豆沙色",
      "text": "柔润雾感 色泽饱满 着色持久 淡化唇纹",
      "type": 1,
      "url": "shell://s?id=4535300",
      "label": 1,
      "volumn": 4584,
      "commission": "2.01",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 16969,
      "tbId": "524275531362",
      "couponValue": "5",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/2105180192/TB2iSeOmQyWBuNjy0FpXXassXXa_!!2105180192.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "19.9",
      "discountedPrice": "14.9",
      "title": "夏季男士短袖T恤纯棉圆领宽松印花上衣服潮体恤男装打底衫学生t桖",
      "text": "短袖上市 厂家直销 优惠大",
      "type": 1,
      "url": "shell://s?id=16969",
      "label": 1,
      "volumn": 4825,
      "commission": "1.34",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 2802960,
      "tbId": "554476508327",
      "couponValue": "30",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/1969791520/TB230irofiSBuNkSnhJXXbDcpXa_!!1969791520.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "69.8",
      "discountedPrice": "39.8",
      "title": "爱康唯脂肪秤电子称体重秤家用成人智能体脂秤精准人体秤减肥称重",
      "text": "领券再减20元  46项瘦身数据",
      "type": 1,
      "url": "shell://s?id=2802960",
      "label": 1,
      "volumn": 165648,
      "commission": "3.58",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 4665589,
      "tbId": "569279805230",
      "couponValue": "20",
      "expireTip": "1天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/2698336233/TB2MpcbruGSBuNjSspbXXciipXa_!!2698336233.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "49.9",
      "discountedPrice": "29.9",
      "title": "抖音网红爆款冰丝阔腿裤女夏原宿宽松bf风休闲裤chic韩版黑色裤子",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=4665589",
      "label": 1,
      "volumn": 21621,
      "commission": "2.69",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 9365,
      "tbId": "531493556416",
      "couponValue": "80",
      "expireTip": "3天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/1048116389/TB2iEw2dqmWBuNjy1XaXXXCbXXa_!!1048116389.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "109.9",
      "discountedPrice": "29.9",
      "title": "2018新款春季男士运动休闲男鞋韩版潮流舒适透气鞋时尚拼接男鞋",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=9365",
      "label": 1,
      "volumn": 5543,
      "commission": "4.03",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 30429,
      "tbId": "556510343186",
      "couponValue": "25",
      "expireTip": "1天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/867275084/TB2NrtKaRbM8KJjSZFFXXaynpXa_!!867275084.png_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "31.9",
      "discountedPrice": "6.9",
      "title": "伊丝诺遮瑕液棒膏笔黑眼圈遮盖痘痘脸部痘印斑点雀斑唇部打底持久",
      "text": "首次使用多次按压出液 淡化细纹 遮盖遮瑕",
      "type": 1,
      "url": "shell://s?id=30429",
      "label": 1,
      "volumn": 3140,
      "commission": "0.93",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 172766,
      "tbId": "548383692193",
      "couponValue": "20",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/675037429/TB2V0Fgj.OWBKNjSZKzXXXfWFXa-675037429.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "29.9",
      "discountedPrice": "9.9",
      "title": "游泳帽套装游泳镜近视游泳眼镜泳镜男女成人防水儿童泳镜高清防雾",
      "text": "七岁以上儿童 成人 男女高清 可配近视",
      "type": 1,
      "url": "shell://s?id=172766",
      "label": 1,
      "volumn": 24487,
      "commission": "1.33",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 2588540,
      "tbId": "535387646281",
      "couponValue": "80",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i4/773475382/TB1XHAdjYZnBKNjSZFKXXcGOVXa_!!0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "299",
      "discountedPrice": "219",
      "title": "飞利浦电动牙刷成人家用声波震动充电式软毛刷头HX3226自动牙刷",
      "text": "柔软刷毛呵护牙龈 入门优选 深入清洁",
      "type": 1,
      "url": "shell://s?id=2588540",
      "label": 1,
      "volumn": 12921,
      "commission": "14.78",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 170776,
      "tbId": "555715877011",
      "couponValue": "40",
      "expireTip": "4天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/2849820602/TB2ts2TX..iyKJjy1XbXXc4cXXa_!!2849820602.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "89",
      "discountedPrice": "49",
      "title": "春装2017新款bf韩版破洞牛仔裤女高腰宽松显瘦学生哈伦裤子九分裤",
      "text": "个性破洞 宽松舒适 高腰显瘦 初高中生",
      "type": 1,
      "url": "shell://s?id=170776",
      "label": 1,
      "volumn": 680,
      "commission": "6.61",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 11608,
      "tbId": "545772852245",
      "couponValue": "40",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/2335928001/TB25GHsBQKWBuNjy1zjXXcOypXa_!!2335928001.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "59",
      "discountedPrice": "19",
      "title": "野菜果冻变色孕妇唇膏补水温变滋润咬唇持久保湿不脱色口红正品",
      "text": "滋润,保湿,持久,易上色,不易脱色",
      "type": 1,
      "url": "shell://s?id=11608",
      "label": 1,
      "volumn": 2917,
      "commission": "2.56",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 6119962,
      "tbId": "571048013901",
      "couponValue": "45",
      "expireTip": "3天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/2263053112/TB2NwnotL5TBuNjSspcXXbnGFXa_!!2263053112.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "69.9",
      "discountedPrice": "24.9",
      "title": "夏季休闲短裤男5分中裤子男士运动五分裤大码速干跑步沙滩裤夏装",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=6119962",
      "label": 0,
      "volumn": 3668,
      "commission": "2.24",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 2376,
      "tbId": "558827984012",
      "couponValue": "25",
      "expireTip": "6天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/1654050000/O1CN011Bs2RJZhkNR5BHJ_!!1654050000.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "38.8",
      "discountedPrice": "13.8",
      "title": "丹灵公主 代用dw手表带男女超薄米兰钢带不锈钢精钢金属正品手链",
      "text": "天猫正品 不锈钢带 真空电镀 不褪色",
      "type": 1,
      "url": "shell://s?id=2376",
      "label": 1,
      "volumn": 8689,
      "commission": "1.86",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 14932,
      "tbId": "537565612038",
      "couponValue": "30",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i2/752144829/TB2SoycfIUrBKNjSZPxXXX00pXa_!!752144829.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "69.8",
      "discountedPrice": "39.8",
      "title": "Shinco/新科 HC-807电脑音响台式家用小音箱笔记本迷你低音炮影响",
      "text": "可控高低音 高清音质 免费换新 3D音效",
      "type": 1,
      "url": "shell://s?id=14932",
      "label": 1,
      "volumn": 20638,
      "commission": "3.58",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 4112803,
      "tbId": "564728894265",
      "couponValue": "30",
      "expireTip": "2天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i1/678275524/TB2KhCnB4GYBuNjy0FnXXX5lpXa_!!678275524.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "49.9",
      "discountedPrice": "19.9",
      "title": "t恤女短袖2018新款韩范白色夏装棉质宽松学生上衣半袖打底衫衣服",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=4112803",
      "label": 1,
      "volumn": 1896,
      "commission": "2.68",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 2413,
      "tbId": "527011579947",
      "couponValue": "10",
      "expireTip": "27天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/bao/uploaded/i4/2041105374/TB24ZhfupmWBuNjSspdXXbugXXa_!!2041105374-0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "24.9",
      "discountedPrice": "14.9",
      "title": "皎洁电热蚊香液套装送加热器孕妇宝宝驱蚊儿童婴无味防蚊灭蚊液体",
      "text": "收藏先发货  无烟无味安全",
      "type": 1,
      "url": "shell://s?id=2413",
      "label": 1,
      "volumn": 321722,
      "commission": "1.67",
      "hasTag": 0,
      "tag": 0
    }]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function() {
    setTimeout(function(){
      // 隐藏导航栏加载框
      wx.hideNavigationBarLoading();
      // 停止下拉动作
      wx.stopPullDownRefresh();
      wx.showToast({
        title: '刷新成功',
      })
    },2000)
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function() {
    wx.showToast({
      title: '到底了',
      icon: 'success',
      duration: 2000
    })
    var lists = [{
      "comId": 1364523,
      "tbId": "566565925900",
      "couponValue": "40",
      "expireTip": "3天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i3/2921028903/TB2sjuljkSWBuNjSszdXXbeSpXa_!!2921028903-0-item_pic.jpg_300x300q90.jpg",
      "largeCoupon": 2,
      "originPrice": "69",
      "discountedPrice": "29",
      "title": "夏季男士休闲裤男束脚裤韩版哈伦裤九分裤宽松小脚运动裤收腿裤子",
      "text": "仿麻面料 小脚设计  加购收藏优先发货！！",
      "type": 1,
      "url": "shell://s?id=1364523",
      "label": 1,
      "volumn": 58402,
      "commission": "2.61",
      "hasTag": 0,
      "tag": 0
    }, {
      "comId": 361114,
      "tbId": "566883993184",
      "couponValue": "110",
      "expireTip": "4天后过期",
      "expiring": 1,
      "favoritesCnt": 0,
      "hasCoupon": 1,
      "imageUrl": "https://img.alicdn.com/imgextra/i4/579778147/TB2752QoSBYBeNjy0FeXXbnmFXa_!!579778147.jpg_300x300q90.jpg",
      "largeCoupon": 1,
      "originPrice": "149",
      "discountedPrice": "39",
      "title": "短袖t恤男士半袖新款夏季纯棉白色V领韩版打底衫男款修身体恤潮男",
      "text": "blank",
      "type": 1,
      "url": "shell://s?id=361114",
      "label": 0,
      "volumn": 6898,
      "commission": "3.51",
      "hasTag": 0,
      "tag": 0
    }];
    var list = this.data.productList;
    for (var i = 0; i < lists.length; i++) {
      list.push(lists[i]);
    }
    
    
    this.setData({
      productList: list
    })
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function() {

  },
  /*
  *产品跳转事件
  */
  goToDateils: function(event){
   var variableData = event.currentTarget.dataset.variable;
   var str = JSON.stringify(variableData.title);
   console.log(str);
   wx.navigateTo({
     url: '../productdatile/productdatile?product=' + str,
   })
  },
  //商品搜索
  goToserch: function(){
    wx.navigateTo({
      url: '../search/search',
    })
  }
})